<?php

namespace App\Http\Controllers\UserFollow\V10;

use App\Http\Requests\UserFollow\V10\SourceCountStoreRequest;
use App\Models\SourceCount;
use App\Http\Controllers\Controller;

class SourceCountController extends Controller
{
    public function store(SourceCountStoreRequest $request)
    {
        $ip = $request->getClientIp();
        $source_id = $request->get('source_id');
        SourceCount::create(['ip'=>$ip,'source_id'=>$source_id]);
        return success([]);
    }
}
